package cn.south.campus.common.utils;

import java.util.UUID;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2023/3/14 14:35
 */
public class GenSerializeUtil {

    public static String genToken() {
        return UUID.randomUUID().toString().replace("-", "");
    }

    public static String genTraceId() {
        return UUID.randomUUID().toString().replace("-", "") + DateUtil.formatNowDate();
    }

    public static String genFileName() {
        return UUID.randomUUID().toString().replace("-", "");
    }
}
